package com.jiuzhe.commercial.bean;

import java.util.List;

/**
 * Created by huanghao on 2018/5/11.
 */

public class CountBean {

    /**
     * avgPrice : 291
     * sumIncome : 2917
     * skuCount : [{"skuId":"111","skuName":null,"orderCount":5,"skuSumPrice":1120,"skuAvgPrice":224,"brokerage":112,"address":null},{"skuId":"222","skuName":null,"orderCount":3,"skuSumPrice":1111,"skuAvgPrice":370.33,"brokerage":111.1,"address":null},{"skuId":"333","skuName":null,"orderCount":2,"skuSumPrice":686,"skuAvgPrice":343,"brokerage":68.6,"address":null}]
     * sumBrokerage : 291.7
     */

    private double avgPrice;
    private String sumIncome;
    private double sumBrokerage;
    public List<SkuCountBean> skuCount;

    public Double getAvgPrice() {
        return avgPrice;
    }

    public void setAvgPrice(double avgPrice) {
        this.avgPrice = avgPrice;
    }

    public String getSumIncome() {
        return sumIncome;
    }

    public void setSumIncome(String sumIncome) {
        this.sumIncome = sumIncome;
    }

    public double getSumBrokerage() {
        return sumBrokerage;
    }

    public void setSumBrokerage(double sumBrokerage) {
        this.sumBrokerage = sumBrokerage;
    }

    public List<SkuCountBean> getSkuCount() {
        return skuCount;
    }

    public void setSkuCount(List<SkuCountBean> skuCount) {
        this.skuCount = skuCount;
    }

    public static class SkuCountBean {
        /**
         * skuId : 111
         * skuName : null
         * orderCount : 5
         * skuSumPrice : 1120
         * skuAvgPrice : 224
         * brokerage : 112
         * address : null
         */

        private String skuId;
        private String skuName;
        private String orderCount;
        private String skuSumPrice;
        private double skuAvgPrice;
        private double brokerage;
        private String address;

        public String getSkuId() {
            return skuId;
        }

        public void setSkuId(String skuId) {
            this.skuId = skuId;
        }

        public String getSkuName() {
            return skuName;
        }

        public void setSkuName(String skuName) {
            this.skuName = skuName;
        }

        public String getOrderCount() {
            return orderCount;
        }

        public void setOrderCount(String orderCount) {
            this.orderCount = orderCount;
        }

        public String getSkuSumPrice() {
            return skuSumPrice;
        }

        public void setSkuSumPrice(String skuSumPrice) {
            this.skuSumPrice = skuSumPrice;
        }

        public Double getSkuAvgPrice() {
            return skuAvgPrice;
        }

        public void setSkuAvgPrice(double skuAvgPrice) {
            this.skuAvgPrice = skuAvgPrice;
        }

        public Double getBrokerage() {
            return brokerage;
        }

        public void setBrokerage(double brokerage) {
            this.brokerage = brokerage;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }
    }
}
